Dynomotion

Group: DynoMotion Message: 5751 From: tapiolarikka Date: 10/8/2012
Subject: Newbie needs advice
Hello all!

I'm trying to build up both knowledge and courage to integrate my kflop/kanalog to my mill.

1. Placing of Kflop: would it be better to place Kflop/Kanalog to
same enclosure as servodrives in order to keep the lines short, or
would you recommend to place them in same enclosure as pc to get distance from drives. all servos are AC.

2. I have 1 limit sensor per axis. Does kflop understand this like Mach3
or do I have to add second sensors.

3. I tried the visual studio /.net examples but I get errors.
even the dynomotion VB.net example in KMotion429\KMotion\Release folder won't start. Error indicates KM-controller not found.

Which version of VS should be used? for VB I have VS2008Express and
for C# VS2010Express.

Should I start by running the BuildAllLibs?

I think it is fair to say that I'm a copy/paste- programmer with small
to nonexistent ability to write code from scratch.

All pointers will be helpful:)

Rgds,
Tapio
Group: DynoMotion Message: 5752 From: Tom Kerekes Date: 10/8/2012
Subject: Re: Newbie needs advice
Hi Tapio,
 
Regarding:
 
#1 - probably best to put KFLOP+Kanalog near the drives.
 
#2 - it is simpler to have 2 sensors per axis.  Otherwise you must use a C program to use logic to set virtual end of travel limits.
 
#3 - normally you can use Mach3 or KMotionCNC to operate your mill.  In this case you don't need to write or compile any programs on the PC.  You would only need to use Visual Studio to creat your own Windows Application or modify the ones provided.   Very few Users find this necessary.  There have been some problems with the examples where the KMotion_dotNet.dll reference was not included in the project.  Also the output should be directed to the <install>\KMotion\Release directory with al the other binaries.
 
HTH
TK 

Group: DynoMotion Message: 5758 From: tapiolarikka Date: 10/9/2012
Subject: Re: Newbie needs advice
Hi Tom,

No matter what I do I keep getting this message when trying to run
Dynomotion VB.net

Dll Not Found Exception thrown : Caller - [KMotion_dotNet.KM_Controller] :: Member - [KM_Controller]

I have the dll referenced and output pointed but no luck.
Any ideas?

I'm asking this because I want to integrate my touch screen keyboard/text editor to the controller

rgds,
Tapio


--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Tapio,
>  
> Regarding:
>  
> #1 - probably best to put KFLOP+Kanalog near the drives.
>  
> #2 - it is simpler to have 2 sensors per axis.  Otherwise you must use a C program to use logic to set virtual end of travel limits.
>  
> #3 - normally you can use Mach3 or KMotionCNC to operate your mill.  In this case you don't need to write or compile any programs on the PC.  You would only need to use Visual Studio to creat your own Windows Application or modify the ones provided.   Very few Users find this necessary.  There have been some problems with the examples where the KMotion_dotNet.dll reference was not included in the project.  Also the output should be directed to the <install>\KMotion\Release directory with al the other binaries.
>  
> HTH
> TK 
>
>
> ________________________________
> From: tapiolarikka <tapio.larikka@...>
> To: DynoMotion@yahoogroups.com
> Sent: Monday, October 8, 2012 12:02 PM
> Subject: [DynoMotion] Newbie needs advice
>
>  
> Hello all!
>
> I'm trying to build up both knowledge and courage to integrate my kflop/kanalog to my mill.
>
> 1. Placing of Kflop: would it be better to place Kflop/Kanalog to
> same enclosure as servodrives in order to keep the lines short, or
> would you recommend to place them in same enclosure as pc to get distance from drives. all servos are AC.
>
> 2. I have 1 limit sensor per axis. Does kflop understand this like Mach3
> or do I have to add second sensors.
>
> 3. I tried the visual studio /.net examples but I get errors.
> even the dynomotion VB.net example in KMotion429\KMotion\Release folder won't start. Error indicates KM-controller not found.
>
> Which version of VS should be used? for VB I have VS2008Express and
> for C# VS2010Express.
>
> Should I start by running the BuildAllLibs?
>
> I think it is fair to say that I'm a copy/paste- programmer with small
> to nonexistent ability to write code from scratch.
>
> All pointers will be helpful:)
>
> Rgds,
> Tapio
>
Group: DynoMotion Message: 5761 From: Tom Kerekes Date: 10/9/2012
Subject: Re: Newbie needs advice
Hi Tapio,

The DLLs are 32-bit.  You might need to change the Build Configuration from "Any CPU" to x86.

Otherwise what version are you using?  Are you sure the output is going to the KMotion\Release directory (check the time stamp after a re-build).

Regards
TK

Group: DynoMotion Message: 5802 From: tapiolarikka Date: 10/14/2012
Subject: Re: Newbie needs advice
Hi Tom!

I downloaded the KMotion429 again and started from the beginning.

Should the compiled DynomotionVB.net example in C:\KMotion429\KMotion\Release work out-of-the-box? I get error message asking if I want to report it to microsoft.

I have triple-checked the visual studio configs to be
x86
output to KMotion\Release
timestamp verifies outputpath

I'm using vb.net 2008express, winXPsp3, .netframeworks 2,3,3.5&4

I think my problem is somewhere else since the compiled example in it's download state does not run. KflopwebNC and KmotionCNC start up fine.

Is there something else that needs to be installed(MFC, WPF)?

rgds,
Tapio


--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Tapio,
>
> The DLLs are 32-bit.  You might need to change the Build Configuration from "Any CPU" to x86.
>
> Otherwise what version are you using?  Are you sure the output is going to the KMotion\Release directory (check the time stamp after a re-build).
>
> Regards
> TK
>
>
>
> ________________________________
> From: tapiolarikka <tapio.larikka@...>
> To: DynoMotion@yahoogroups.com
> Sent: Tuesday, October 9, 2012 1:47 PM
> Subject: [DynoMotion] Re: Newbie needs advice
>
>
>  
>
> Hi Tom,
>
> No matter what I do I keep getting this message when trying to run
> Dynomotion VB.net
>
> Dll Not Found Exception thrown : Caller - [KMotion_dotNet.KM_Controller] :: Member - [KM_Controller]
>
> I have the dll referenced and output pointed but no luck.
> Any ideas?
>
> I'm asking this because I want to integrate my touch screen keyboard/text editor to the controller
>
> rgds,
> Tapio
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > Hi Tapio,
> >  
> > Regarding:
> >  
> > #1 - probably best to put KFLOP+Kanalog near the drives.
> >  
> > #2 - it is simpler to have 2 sensors per axis.  Otherwise you must use a C program to use logic to set virtual end of travel limits.
> >  
> > #3 - normally you can use Mach3 or KMotionCNC to operate your mill.  In this case you don't need to write or compile any programs on the PC.  You would only need to use Visual Studio to creat your own Windows Application or modify the ones provided.   Very few Users find this necessary.  There have been some problems with the examples where the KMotion_dotNet.dll reference was not included in the project.  Also the output should be directed to the <install>\KMotion\Release directory with al the other binaries.
> >  
> > HTH
> > TK 
> >
> >
> > ________________________________
> > From: tapiolarikka <tapio.larikka@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Monday, October 8, 2012 12:02 PM
> > Subject: [DynoMotion] Newbie needs advice
> >
> >  
> > Hello all!
> >
> > I'm trying to build up both knowledge and courage to integrate my kflop/kanalog to my mill.
> >
> > 1. Placing of Kflop: would it be better to place Kflop/Kanalog to
> > same enclosure as servodrives in order to keep the lines short, or
> > would you recommend to place them in same enclosure as pc to get distance from drives. all servos are AC.
> >
> > 2. I have 1 limit sensor per axis. Does kflop understand this like Mach3
> > or do I have to add second sensors.
> >
> > 3. I tried the visual studio /.net examples but I get errors.
> > even the dynomotion VB.net example in KMotion429\KMotion\Release folder won't start. Error indicates KM-controller not found.
> >
> > Which version of VS should be used? for VB I have VS2008Express and
> > for C# VS2010Express.
> >
> > Should I start by running the BuildAllLibs?
> >
> > I think it is fair to say that I'm a copy/paste- programmer with small
> > to nonexistent ability to write code from scratch.
> >
> > All pointers will be helpful:)
> >
> > Rgds,
> > Tapio
> >
>
Group: DynoMotion Message: 5809 From: Tom Kerekes Date: 10/15/2012
Subject: Re: Newbie needs advice
Hi Tapio,
 
The Dynomotion VB.net.exe example in the Release Directory should work out-of-the-box if there is a KFLOP connected.  The KFLOP Firmware Version does not even need to match (it just sends Console commands - it doesn't compile code).  If no board is connected it get an exception when in tries to format the status positions to display on the screen.  I don't know why you are having trouble.  One thing to check might be the regional settings on your PC try setting to US English.
 
Regards
TK